<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>


<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>SupermarketDemo</title>

<meta name="viewport"
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">

<link
	href="${pageContext.request.contextPath}/static/css/bootstrap.min.css"
	rel="stylesheet" type="text/css" />
<link
	href="${pageContext.request.contextPath}/static/css/bootstrap-responsive.min.css"
	rel="stylesheet" type="text/css" />

<link
	href="${pageContext.request.contextPath}/static/css/font-awesome.css"
	rel="stylesheet">
<link
	href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600"
	rel="stylesheet">

<link href="${pageContext.request.contextPath}/static/css/style.css"
	rel="stylesheet" type="text/css">
<link
	href="${pageContext.request.contextPath}/static/css/pages/signin.css"
	rel="stylesheet" type="text/css">

</head>
<body>

	<!-- 头部开始 -->
		<%@include file="/common/head.jsp"%>
	<!-- 头部结束 -->


	<div class="account-container register">
		<div class="content clearfix">
			<form
				action="${pageContext.request.contextPath}/editDept?method=1&id=${dept.id }"
				method="post">
				<h1>修改部门</h1>
				<div class="field">
					<label for="DeptName">请修改部门名称:</label> <input type="text"
						id="deptName" name="deptName" value="${dept.departmentName }"
						placeholder="部门名称" class="login" />
				</div>
				<div class="field">
					<label for="description">请修改部门信息:</label> <input type="text"
						id="description" name="description" value="${dept.description }"
						placeholder="部门信息" class="login" />
				</div>
				<br> <a href="#" id="clear_all">清空</a> <br> <span
					style="color: Green" id="textAddDeptSuccess">${EditDet_success }</span>
				<span style="color: Red" id="textAddDeptErr"></span> <span
					style="color: Red" id="">${EditDept_err }</span>
				<div class="login-actions">
					<a href="${pageContext.request.contextPath}/deptlist"> <input
						type="button" id="btncleanCheck"
						class="button btn btn-danger btn-large" value="取消" />
					</a> <input type="submit" id="btnAddCheck"
						class="button btn btn-primary btn-large" value="确定" />
					&nbsp;&nbsp;&nbsp;&nbsp;

				</div>
			</form>
		</div>


	</div>





	</div>

	<script
		src="${pageContext.request.contextPath}/static/js/jquery-1.7.2.min.js"></script>
	<script src="${pageContext.request.contextPath}/static/js/bootstrap.js"></script>

	<script src="${pageContext.request.contextPath}/static/js/signin.js"></script>
	<script src="${pageContext.request.contextPath}/js/add.dept.js"></script>
	<script src="${pageContext.request.contextPath}/js/clear.js"></script>

</body>
</html>